{{tag>matériel réseau modem Dapper}}
---- 

====== Modem Intel ======

 ===== Introduction =====

La procédure décrite ci-dessous a été testée sous Ubuntu 6.06 LTS Dapper Drake. Vous trouverez des informations sur les winmodems [[:modem_56k|ici]].

===== Modems Intel de type AC97 =====

Vous pouvez vous épargner la lecture des prochains chapitres si vous possédez un  modem de la liste suivante

  * AC97 Modem Controller
  * Intel 82801AA (ICHAA)
  * Intel 82801BA/M (ICH2)
  * Intel 82801CA/M (ICH3)
  * Intel 82801DB/M (ICH4)
  * Intel 82440MX (Banister)

Si votre modem n'appartient pas à la liste ci dessus, passez au prochain chapitre.

Pour vérifier votre modem taper ceci dans une console

  lspci | grep Modem

Il faut s'assurer que le pilote du modem est bien installé

  sudo modprobe snd_intel8x0m

Il semble que le service pour les modems de type soient compatibles avec ce type de winmodem. Nous allons donc l'installer

  sudo aptitude install sl-modem-daemon

Si tout s'est boen passé, vous devriez voir un message de ce genr

  1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
  Starting SmartLink Modem driver for: modem:1.
  Creating /dev/modem symlink, pointing to: /dev/ttySL0.

Vous pouvez maintenant utiliser votre modem RTC.

===== Compilateur / Headers =====

Installez les paquets suivants :

  sudo apt-get install build-essential
  sudo apt-get install gcc-4.0
  sudo apt-get install make
  sudo apt-get install linux-headers-$(uname -r)

===== Détection du matériel =====

Pour s'assurer que vous possédez bien un modem Intel, suivez les instructions de 
la partie "Vérification du matériel" de [[:modem_56k|cette page]].




===== Installation du pilote Intel 536EP =====

>Note : Pour les pilotes Intel 537EP, la procédure est sans doute similaire, mais je n'en sais pas plus...

	* Téléchargez le pilote sur [[http://downloadfinder.intel.com/scripts-df-external/Detail_Desc.aspx?agr=Y&ProductID=977&DwnldID=9266&strOSs=39&OSFullName=Linux*&lang=fra|cette page]]. Vous trouverez d'autre pilotes Intel [[http://developer.intel.com/design/modems/support/drivers.htm|ici]].
	*Extrayez l'archive :

		cd /home/vous/votre_répertoire    #répertoire où se trouve l'archive téléchargée
		tar -zxvf <nom_archive>.tgz       #nom_archive devrait être "Intel-536EP-4.71"
		cd Intel-536/

Le pilote n'étant pas conçu par défaut pour Ubuntu, nous allons ajouter quelques lignes au fichier "Intel536_inst" afin de le rendre compatible :
	*Éditez ce fichier avec votre éditeur texte préféré, par exemple Gedit : 

		gedit Intel536_inst

et remplacez les lignes 246 et 247 par ceci :
<file>
   echo ubuntu hamboot rc2.d, rc3.d and rc5.d scripts
   install -o root -g root -m 110 Intel536_boot /etc/init.d
   ln -s -f /etc/init.d/Intel536_boot /etc/rc2.d/S99_Intel536
   ln -s -f /etc/init.d/Intel536_boot /etc/rc3.d/S99_Intel536
   ln -s -f /etc/init.d/Intel536_boot /etc/rc5.d/S99_Intel536

   #echo unknown distribution. no boot scripts installed
   #exit 1
</file>
Avant la manipulation, la fin du fichier ressemblait à ceci :
<file>
case $KERNVER in
   2.4*)
      install -o root -g root -m 664 Intel536.o ${CharModDir}/Intel536.o || exit 1
      ;;
   2.6*)
      install -o root -g root -m 664 Intel536.ko ${CharModDir}/Intel536.ko || exit 1
      ;;
esac

   echo unknown distribution. no boot scripts installed
   exit 1
}
fi
echo starting module and utilities
depmod -a
/bin/bash Intel536_boot restart
echo done
</file>
Maintenant, vous obtenez cela :
<file>
case $KERNVER in
   2.4*)
      install -o root -g root -m 664 Intel536.o ${CharModDir}/Intel536.o || exit 1
      ;;
   2.6*)
      install -o root -g root -m 664 Intel536.ko ${CharModDir}/Intel536.ko || exit 1
      ;;
esac

   echo ubuntu hamboot rc2.d, rc3.d and rc5.d scripts
   install -o root -g root -m 110 Intel536_boot /etc/init.d
   ln -s -f /etc/init.d/Intel536_boot /etc/rc2.d/S99_Intel536
   ln -s -f /etc/init.d/Intel536_boot /etc/rc3.d/S99_Intel536
   ln -s -f /etc/init.d/Intel536_boot /etc/rc5.d/S99_Intel536

   #echo unknown distribution. no boot scripts installed
   #exit 1
}
fi
echo starting module and utilities
depmod -a
/bin/bash Intel536_boot restart
echo done
</file>

	*Sauvegardez et quittez
	*Assurez-vous que vous êtes toujours dans le bon répertoire (Intel-536).
	*Compilez :

		sudo make clean
		sudo make 536
		sudo make install

Voilà, votre modem est maintenant fonctionnel! Pour configurer votre connexion, jeter un œil sur les pages [[:gnome-ppp]], [[:wvdial]] et sur la partie "connexion RTC 56k" de [[:reglages_du_reseau|cette page]].